package com.heima.user;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.heima.user.mapper")
@Slf4j
public class UserApplication {

    public static void main(String[] args) {
        log.debug("记录debug级别的日志....");
        log.info("记录info级别的日志....");
        log.warn("记录warn级别的日志....");
        log.error("记录error级别的日志....");
        SpringApplication.run(UserApplication.class,args);


    }
}
